#ifndef _APP_H_
#define _APP_H_

#include "screen.hpp"
#include "game.hpp"

class Application
{
public:
	Application();
	~Application();

	int Run(int argct, char *args[]);

	void SlowSet(float slw)
	{
		slow = slw;
	}

	void ScreenChange(Screen *s)
	{
		screen = s;
	}

	void Exit()
	{
		ScreenChange(0);
	}

private:
	Screen *screen;
	bool frameskip;
	float slow;
	
	void Loop();
};

extern Application App;

#endif
